<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <title>提现</title>
    <div data-th-replace="layout/head"></div>
</head>
<body>
    <header class="bar bar-nav">
        <a th:href="@{/mobile/uc/account/myAccount}" class="button button-link button-nav pull-left goBack">
            <span class="iconfont icon-fanhui"></span>
        </a>
        <h1 class='title'>提现</h1>
    </header>
    <div class="content wm-content of order-content" style="background-color: #F6F6F6">
        <article class="page-infinite__wrap exam-page__wrap">
            <div class="page-group">
                <div id="page-infinite-scroll-bottom" class="page page-current">
                    <div class="content infinite-scroll native-scroll" data-type='native' data-distance="100">
                        <div class="list-block no-mt">
                            <ul class="uAccount-list">
                                <li class="item-content item-link change-uAccount-btn">
                                    <input type="hidden" id="account" th:value="${cashAccountList[0]['account']}"/>
                                    <input type="hidden" id="realName" th:value="${cashAccountList[0]['realName']}"/>
                                    <input type="hidden" id="accountType" th:value="${cashAccountList[0]['accountType']}"/>
                                    <div class="item-inner">
                                        <div class="item-media">
                                            <em class="iconfont" th:classappend="${cashAccountList[0]['accountType']}==1?'icon-zhifubao c-blue':'icon-winxin c-green'" style="font-size: 1.8rem;"></em>
                                        </div>
                                        <div class="item-title">
                                            <section class="pl5">
                                                <span id="zf-show-name" th:text="${cashAccountList[0]['accountType']}==1?'支付宝':'微信'"></span>
                                                <br>
                                                <span id="zf-show-text" class="fs6 c-888" th:text="${cashAccountList[0]['realName']}+'|'+${cashAccountList[0]['account']}"></span>
                                            </section>
                                        </div>
                                    </div>
                                </li>

                                <li class="pt5 mt5 pl75">
                                    <section><span class="fs7 c-666">提现金额</span></section>
                                    <section class="pt5 pb5">
                                        <section class="row no-gutter">
                                            <aside class="col-20 text-right">
                                                <span style="font-size: 2rem">￥</span>
                                            </aside>
                                            <aside class="col-80 pt5">
                                                <section class="item-input">
                                                    <input type="text" maxlength="6" id="price" placeholder="0.00" style="font-size: 2rem;line-height: 2.8rem;height: 2.8rem">
                                                </section>
                                            </aside>
                                        </section>
                                    </section>
                                </li>
                                <li class="pb5">
                                    <hr style="margin-top: 0;">
                                    <section class="pl75 ml5 pb5 fs6">
                                        <span class="c-888">可提现金额：</span>
                                        <span class="c-888" th:text="'￥'+${userAccount['cashAmount']}"></span>
                                        <span class="ml5 c-red" th:attrprepend="data-cash=${userAccount['cashAmount']}" id="all-cash-m" th:if="${userAccount['cashAmount']} >= 1">全部提现</span>
                                        <span class="ml5 c-ccc" th:if="${userAccount['cashAmount']} < 1">全部提现</span>
                                    </section>
                                </li>
                            </ul>
                            <section class="pl75 pr75">
                                <p th:if="${userAccount['cashAmount']} >= 1" class="lr-suBtn__wrap">
                                    <a href="javascript:;" class="button button-big button-round applyWithdrawBtn">确认提现</a>
                                </p>
                                <p th:if="${userAccount['cashAmount']} < 1">
                                    <a href="javascript:;" class="button button-big button-round disabled">确认提现</a>
                                </p>
                            </section>
                            <section class="pl75 pr75">
                                <span class="fs6 c-888">提示须知：</span>
                                <br>
                                <span class="fs6 c-888">1、单次提现金额应大于1元，且不得超过1000元。</span>
                                <br>
                                <span class="fs6 c-888">2、单日提现次数不超过3次，每次提现时间间隔不得少于1分钟。</span>
                                <br>
                                <span class="fs6 c-888">3、如果提现出现问题，请联系在线客服。</span>
                            </section>
                        </div>
                    </div>
                </div>
            </div>
        </article>
    </div>
    <!--查看详情 开始-->
    <textarea id="applyWithdraw-ele" class="hide">
        <div class="pr pt5 pb5">
            <aside class="exam-stop-icon applyWithdraw-icon"><span>&nbsp;</span></aside>
            <section class="text-center">
                <h3 class="" style="margin-bottom: 0;font-weight: 200;">提现申请已提交成功</h3>
                <section class="pt5">
                    <span class="fs6 c-888">平台运营人员将尽快审核</span>
                    <br>
                    <span class="fs6 c-888">大概</span>
                    <span class="fs6 c-red">1-15</span>
                    <span class="fs6 c-888">个工作日内自动转入，请注意查收</span>
                </section>
            </section>
        </div>
    </textarea>
    <div class="modal-overlay"></div>
    <!--查看详情 结束-->
    <div data-th-replace="layout/footer"></div>
    <script type="text/javascript" th:src="@{{path}/front/mobile/business/user/center/account/to-withdrawing.js?v={v}(path=${staticPath},v=${v})}"></script>
</body>
</html>
